package com.lt.service.impl;

import com.lt.mapper.AppVersionMapper;
import com.lt.pojo.AppVersion;
import com.lt.service.AppVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppVersionServiceImpl implements AppVersionService {

    @Autowired
    AppVersionMapper appVersionMapper;

    @Override
    public List<AppVersion> getAppVersionByvId(Integer appId) {
        return appVersionMapper.getAppVersionByvId(appId);
    }

    @Override
    public AppVersion getAppVersionById(Integer vid) {
        return appVersionMapper.getAppVersionById(vid);
    }

    @Override
    public List<AppVersion> getAppVersionList(int id) {
        return appVersionMapper.getAppVersionList(id);
    }
}
